create or replace 
procedure dictionary_insert(in_word varchar2, out_id out number)
is
begin
  select gen_dictionary.nextval into out_id from dual;
  
  insert into dictionary(id, word)
  values(out_id, in_word);
end;
/
